diff --git a/wallet/eth.go b/wallet/eth.go index 0648eb8..96c0a49 100644 --- a/wallet/eth.go +++ b/wallet/eth.go @@ -98,7 +98,7 @@ func (w *EthWallet) SendWithAccount(account accounts.Account, addr common.Addres nonces.Update(false) return "", fmt.Errorf("Sign tx error %v", err) } - log.Info("Compose dst chain tx", "hash", tx.Hash(), "account", account.Address) + log.Info("Compose dst chain tx", "hash", tx.Hash(), "account", account.Address, "nonce", tx.Nonce(), "limit", tx.Gas(), "gasPrice", tx.GasPrice()) err = w.sdk.Node().SendTransaction(context.Background(), tx) //TODO: Check err here before update nonces nonces.Update(true) diff --git a/wallet/wallet.go b/wallet/wallet.go index 8eeac59..f825f33 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -223,7 +223,7 @@ func (w *Wallet) sendWithAccount(dry bool, account accounts.Account, addr common err = fmt.Errorf("Sign tx error %v", err) return } - log.Info("Compose dst chain tx", "hash", tx.Hash(), "account", account.Address) + log.Info("Compose dst chain tx", "hash", tx.Hash(), "account", account.Address, "nonce", tx.Nonce(), "limit", tx.Gas(), "gasPrice", tx.GasPrice()) err = w.sdk.Node().SendTransaction(context.Background(), tx) //TODO: Check err here before update nonces nonces.Update(true) @@ -344,7 +344,7 @@ func (w *Wallet) SendWithMaxLimit(chainId uint64, account accounts.Account, addr err = fmt.Errorf("Sign tx error %v", err) return } - log.Info("Compose dst chain tx", "hash", tx.Hash(), "account", account.Address) + log.Info("Compose dst chain tx", "hash", tx.Hash(), "account", account.Address, "nonce", tx.Nonce(), "limit", tx.Gas(), "gasPrice", tx.GasPrice()) err = w.sdk.Node().SendTransaction(context.Background(), tx) //TODO: Check err here before update nonces nonces.Update(true)