Rename address => to

pull/2/head
Michael Scoff 7 years ago
parent 2cd6eb9774
commit 6f4f42ebc7
  1. 2
      Trust/EtherClient/EtherKeystore.swift
  2. 4
      Trust/EtherClient/TransactionSigning.swift
  3. 2
      Trust/Models/SignTransaction.swift
  4. 2
      Trust/Transfer/Controllers/TransactionConfigurator.swift
  5. 2
      Trust/Transfer/Coordinators/SendTransactionCoordinator.swift

@ -324,7 +324,7 @@ open class EtherKeystore: Keystore {
transaction.nonce,
transaction.gasPrice,
transaction.gasLimit,
transaction.address.data,
transaction.to.data,
transaction.value,
transaction.data,
v, r, s,

@ -20,7 +20,7 @@ struct EIP155Signer: Signer {
transaction.nonce,
transaction.gasPrice,
transaction.gasLimit,
transaction.address.data,
transaction.to.data,
transaction.value,
transaction.data,
transaction.chainID, 0, 0,
@ -45,7 +45,7 @@ struct HomesteadSigner: Signer {
transaction.nonce,
transaction.gasPrice,
transaction.gasLimit,
transaction.address.data,
transaction.to.data,
transaction.value,
transaction.data,
])!

@ -7,7 +7,7 @@ import TrustKeystore
public struct SignTransaction {
let value: BigInt
let account: Account
let address: Address
let to: Address
let nonce: Int
let data: Data
let gasPrice: BigInt

@ -148,7 +148,7 @@ class TransactionConfigurator {
let signTransaction = SignTransaction(
value: value,
account: account,
address: address,
to: address,
nonce: 0,
data: configuration.data,
gasPrice: configuration.gasPrice,

@ -51,7 +51,7 @@ class SendTransactionCoordinator {
return SignTransaction(
value: to.value,
account: to.account,
address: to.address,
to: to.to,
nonce: currentNonce,
data: to.data,
gasPrice: to.gasPrice,

Loading…
Cancel
Save