mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
fix scriptPubKeyHex
This commit is contained in:
parent
15417359a4
commit
f2854c0bc6
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ extension FusionTransaction on Transaction {
|
||||||
}
|
}
|
||||||
|
|
||||||
final scriptPubKeyHex =
|
final scriptPubKeyHex =
|
||||||
_tx["vout"]?[input.vout]?["scriptPubKey"] as String?;
|
_tx["vout"]?[input.vout]?["scriptPubKey"]?["hex"] as String?;
|
||||||
if (scriptPubKeyHex == null) {
|
if (scriptPubKeyHex == null) {
|
||||||
throw Exception(
|
throw Exception(
|
||||||
"scriptPubKey of vout index ${input.vout} in transaction is null",
|
"scriptPubKey of vout index ${input.vout} in transaction is null",
|
||||||
|
|
Loading…
Reference in a new issue