Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 28a0139

Browse files
author
Gabriel Cardona
committed
formatting.
1 parent cb42f8d commit 28a0139

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/data/docs/bitbox/util.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ Sweep utxo for `wif` to cashAddress
7676
(async () => {
7777
try {
7878
const wif = "cP8LcsoMneSyjdtyFTmnASsmAuyd2SfZjG4drp5twAJoSpRa2RCx"
79+
const toAddr = "bchtest:qqmd9unmhkpx4pkmr6fkrr8rm6y77vckjvqe8aey35"
7980
const result = await bitbox.Util.sweep(
8081
wif,
81-
"bchtest:qqmd9unmhkpx4pkmr6fkrr8rm6y77vckjvqe8aey35",
82+
toAddr,
8283
true
8384
)
8485
console.log(result);
@@ -92,9 +93,10 @@ Sweep utxo for `wif` to cashAddress
9293
(async () => {
9394
try {
9495
const wif = "cP8LcsoMneSyjdtyFTmnASsmAuyd2SfZjG4drp5twAJoSpRa2RCx"
96+
const toAddr = "bchtest:qqmd9unmhkpx4pkmr6fkrr8rm6y77vckjvqe8aey35"
9597
const result = await bitbox.Util.sweep(
9698
wif,
97-
"bchtest:qqmd9unmhkpx4pkmr6fkrr8rm6y77vckjvqe8aey35"
99+
toAddr
98100
)
99101
console.log(result);
100102
} catch(error) {

0 commit comments

Comments
 (0)