Remove semi-colons

This commit is contained in:
Jackson Mills
2021-10-18 09:30:45 -07:00
parent acef5fcccc
commit ea5bc3a31a
5 changed files with 46 additions and 46 deletions

View File

@@ -6,8 +6,8 @@ async function main() {
await client.connect()
client.on('error', (errorCode, errorMessage) => {
console.log(errorCode + ': ' + errorMessage);
});
console.log(errorCode + ': ' + errorMessage)
})
const { wallet, balance } = await client.fundWallet()
@@ -16,12 +16,12 @@ async function main() {
TransactionType: "AccountSet",
Account: wallet.address,
SetFlag: xrpl.AccountSetAsfFlags.asfGlobalFreeze
};
}
// Sign and submit the settings transaction
console.log('Sign and submit the transaction:', accountSetTx);
console.log('Sign and submit the transaction:', accountSetTx)
await client.submitReliable(wallet, accountSetTx);
await client.submitReliable(wallet, accountSetTx)
client.disconnect()
}