cli: Update for new OfflineSigner

This commit is contained in:
willclarktech
2020-10-27 17:07:34 +01:00
parent e08ee36297
commit ff4ef4a084
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const { accountNumber, sequence } = await client.getSequence(senderAddress);
console.log("Account/sequence:", accountNumber, sequence);
const signDoc = makeSignDoc([msg], fee, chainId, memo, accountNumber, sequence);
const { signed, signature } = await wallet.sign(senderAddress, signDoc);
const { signed, signature } = await wallet.signAmino(senderAddress, signDoc);
const signedTx = makeStdTx(signed, signature);
const result = await client.broadcastTx(signedTx);