Skip to content

Commit fb4bf5a

Browse files
author
Lucien Grondin
committed
use command base32
1 parent 0e06185 commit fb4bf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ segwitAddress() {
465465
# P2WPKH
466466
bech32 "$hrp" "${bech32_charset:$version:1}$(
467467
xxd -p -r <<<"$witness_program" |
468-
basenc --base32 |
468+
base32 |
469469
tr A-Z2-7 "$bech32_charset" |
470470
tr -d '\n='
471471
)"

0 commit comments

Comments
 (0)