Skip to content

Commit 382bb84

Browse files
author
jagdeep sidhu
committed
fix fromPali usage to pass in network
1 parent 79ad05b commit 382bb84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/scripts/Background/controllers/message-handler/request-pipeline.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,10 @@ const extractUtxoAddressFromPsbt = async (
734734
}
735735

736736
try {
737-
const psbtObj = PsbtUtils.fromPali(psbtData);
737+
const psbtObj = PsbtUtils.fromPali(
738+
psbtData,
739+
store.getState().vault.activeNetwork
740+
);
738741

739742
// Look through inputs to find the first unsigned input that belongs to our wallet
740743
if (psbtObj?.data?.inputs) {

0 commit comments

Comments
 (0)