Update xrpljs2-migration-guide.md

fix xrpl.Wallet.fromSeed is not a constructor
This commit is contained in:
Diadal
2021-11-03 15:14:59 +01:00
committed by GitHub
parent 6cc92778ab
commit 18ed2f965d

View File

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