From 4bb06f52422716352c4df5977349aefa13da9a47 Mon Sep 17 00:00:00 2001 From: Michael Sutton Date: Fri, 13 Sep 2024 13:17:46 +0300 Subject: [PATCH] Fix test --- cmd/kaspawallet/daemon/server/split_transaction_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/kaspawallet/daemon/server/split_transaction_test.go b/cmd/kaspawallet/daemon/server/split_transaction_test.go index a5a471f370..b1734f4191 100644 --- a/cmd/kaspawallet/daemon/server/split_transaction_test.go +++ b/cmd/kaspawallet/daemon/server/split_transaction_test.go @@ -74,6 +74,10 @@ func TestEstimateMassAfterSignatures(t *testing.T) { for i := range unsignedTransaction.Tx.Inputs { unsignedTransaction.Tx.Inputs[i].UTXOEntry = utxo.NewUTXOEntry(1, &externalapi.ScriptPublicKey{}, false, 0) + unsignedTransaction.PartiallySignedInputs[i].PrevOutput = &externalapi.DomainTransactionOutput{ + Value: 1, + ScriptPublicKey: &externalapi.ScriptPublicKey{}, + } } serverInstance := &server{