Skip to content

Commit

Permalink
fix ledger on send token
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-meilan committed Jan 10, 2024
1 parent 455cb86 commit 8bccd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web3/tx/erc20.tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const erc20send: SendTx<undefined> = async (
if (isHw) {
const { from, ...txToResolveProperties } = tx;
const txToSerialize = await resolveProperties(txToResolveProperties);
const unsignedTx = Transaction.from(txToSerialize).serialized.substring(2);
const unsignedTx = Transaction.from(txToSerialize).unsignedSerialized.substring(2);

const sig = await erc20SignTxWithLedger(blockchain, {
bluetoothConnection: hwBluetooth,
Expand Down

0 comments on commit 8bccd43

Please sign in to comment.