diff --git a/packages/store/src/transaction/actions.ts b/packages/store/src/transaction/actions.ts index b42b514ca..a6edb0c66 100644 --- a/packages/store/src/transaction/actions.ts +++ b/packages/store/src/transaction/actions.ts @@ -101,7 +101,7 @@ function verifySender(expected: string): (a: string, c: BlockchainCode) => Promi if (tx.verifySignature()) { log.debug('Tx signature verified'); if (!tx.getSenderAddress().equals(new EthereumAddress(expected))) { - log.error(`WRONG SENDER: 0x${tx.getSenderAddress().toString()} != ${expected}`); + log.error(`WRONG SENDER: ${tx.getSenderAddress().toString()} != ${expected}`); reject(new Error('Emerald Vault returned signature from wrong Sender')); } else { resolve(raw); @@ -251,7 +251,7 @@ export function estimateGas(chain: BlockchainCode, tx: Tx): Dispatched { data, from, to, - gas: gas.toNumber(), + gas: `0x${gas.toString(16)}`, value: `0x${value?.number.toString(16) ?? 0}`, }); };