mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
parent
b77c22b0df
commit
d332377a2b
36 changed files with 402 additions and 667 deletions
|
@ -21,7 +21,7 @@ String getOutputAmountFromPsbt(String psbtV0, BitcoinWalletBase wallet) {
|
|||
int amount = 0;
|
||||
for (var i = 0; i < psbt.getGlobalOutputCount(); i++) {
|
||||
final script = psbt.getOutputScript(i);
|
||||
if (wallet.isMine(Script.fromRaw(bytes: script))) {
|
||||
if (wallet.isMine(Script.fromRaw(byteData: script))) {
|
||||
amount += psbt.getOutputAmount(i);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue