mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +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 =
|
||||
_tx["vout"]?[input.vout]?["scriptPubKey"] as String?;
|
||||
_tx["vout"]?[input.vout]?["scriptPubKey"]?["hex"] as String?;
|
||||
if (scriptPubKeyHex == null) {
|
||||
throw Exception(
|
||||
"scriptPubKey of vout index ${input.vout} in transaction is null",
|
||||
|
|
Loading…
Reference in a new issue