mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
fromScript->fromRedeemScript
This commit is contained in:
parent
b50985aec7
commit
3b0fb69339
3 changed files with 3 additions and 3 deletions
|
@ -146,7 +146,7 @@ class Bitcoin extends Bip39HDCurrency with PaynymCurrencyInterface {
|
||||||
hrp: networkParams.bech32Hrp,
|
hrp: networkParams.bech32Hrp,
|
||||||
).program.script;
|
).program.script;
|
||||||
|
|
||||||
final addr = coinlib.P2SHAddress.fromScript(
|
final addr = coinlib.P2SHAddress.fromRedeemScript(
|
||||||
p2wpkhScript,
|
p2wpkhScript,
|
||||||
version: networkParams.p2shPrefix,
|
version: networkParams.p2shPrefix,
|
||||||
);
|
);
|
||||||
|
|
|
@ -146,7 +146,7 @@ class Litecoin extends Bip39HDCurrency {
|
||||||
hrp: networkParams.bech32Hrp,
|
hrp: networkParams.bech32Hrp,
|
||||||
).program.script;
|
).program.script;
|
||||||
|
|
||||||
final addr = coinlib.P2SHAddress.fromScript(
|
final addr = coinlib.P2SHAddress.fromRedeemScript(
|
||||||
p2wpkhScript,
|
p2wpkhScript,
|
||||||
version: networkParams.p2shPrefix,
|
version: networkParams.p2shPrefix,
|
||||||
);
|
);
|
||||||
|
|
|
@ -121,7 +121,7 @@ class Namecoin extends Bip39HDCurrency {
|
||||||
hrp: networkParams.bech32Hrp,
|
hrp: networkParams.bech32Hrp,
|
||||||
).program.script;
|
).program.script;
|
||||||
|
|
||||||
final addr = coinlib.P2SHAddress.fromScript(
|
final addr = coinlib.P2SHAddress.fromRedeemScript(
|
||||||
p2wpkhScript,
|
p2wpkhScript,
|
||||||
version: networkParams.p2shPrefix,
|
version: networkParams.p2shPrefix,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue