Format code in README

This commit is contained in:
Simon Warta 2020-09-24 11:37:24 +02:00
parent 0f626a2320
commit bf6fed25fe

View File

@ -205,14 +205,7 @@ const memo = "Time for action";
const { account_number, sequence } = (
await client.auth.account(myAddress)
).result.value;
const signDoc = makeSignDoc(
[msg],
fee,
apiUrl,
memo,
account_number,
sequence,
);
const signDoc = makeSignDoc([msg], fee, apiUrl, memo, account_number, sequence);
const { signature } = await signer.sign(myAddress, signDoc);
const signedTx: StdTx = {
msg: [msg],