From 7731fb7007aa21839a0168ac0cca709b1b1d409a Mon Sep 17 00:00:00 2001 From: Michael Scoff Date: Wed, 20 Dec 2017 00:06:14 -0800 Subject: [PATCH] Fixing tests --- TrustTests/EtherClient/EtherKeystoreTests.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/TrustTests/EtherClient/EtherKeystoreTests.swift b/TrustTests/EtherClient/EtherKeystoreTests.swift index d35925f96..d16f18103 100644 --- a/TrustTests/EtherClient/EtherKeystoreTests.swift +++ b/TrustTests/EtherClient/EtherKeystoreTests.swift @@ -4,6 +4,7 @@ import XCTest @testable import Trust import KeychainSwift import Geth +import BigInt class EtherKeystoreTests: XCTestCase { @@ -170,13 +171,14 @@ class EtherKeystoreTests: XCTestCase { let account = keystore.createAccout(password: "test") let signTransaction = SignTransaction( - amount: GethNewBigInt(1), + value: BigInt(1), account: account, address: .make(address: "0x123f681646d4a755815f9cb19e1acc8565a0c2ac"), nonce: 0, - speed: .regular, data: Data(), - chainID: GethNewBigInt(1) + gasPrice: BigInt(1), + gasLimit: BigInt(1), + chainID: 1 ) let signedTransaction = keystore.signTransaction(signTransaction)