Merge pull request #1224 from diadal/patch-1

Update xrpljs2-migration-guide.md
This commit is contained in:
Rome Reginelli
2021-11-09 15:12:31 -08:00
committed by GitHub

View File

@@ -165,7 +165,7 @@ const signed = api.sign(JSON.stringify(tx_json), seed)
**xrpl.js 2.0:** **xrpl.js 2.0:**
```js ```js
const wallet = new xrpl.Wallet.fromSeed('s████████████████████████████') const wallet = xrpl.Wallet.fromSeed('s████████████████████████████')
const tx_json = { const tx_json = {
"Account": wallet.address, "Account": wallet.address,
"TransactionType":"Payment", "TransactionType":"Payment",