Skip to content

Commit ad422d6

Browse files
committed
Merge branch 'fix'
2 parents b413ed7 + 2fa7ee6 commit ad422d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/devices/bitbox02/keystore_simulator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func makeTx(t *testing.T, device *Device, recipient *maketx.OutputInfo) *btc.Pro
341341
inputAddress2 := addresses.NewAccountAddress(configurations[2], types.Derivation{Change: false, AddressIndex: 0}, network, log)
342342
changeAddress := addresses.NewAccountAddress(configurations[0], types.Derivation{Change: true, AddressIndex: 1}, network, log)
343343

344-
inputAddress3 := addresses.NewAccountAddress(configurations[3], signing.NewEmptyRelativeKeypath().Child(0, false).Child(0, false), network, log)
344+
inputAddress3 := addresses.NewAccountAddress(configurations[3], types.Derivation{Change: false, AddressIndex: 0}, network, log)
345345

346346
prevTx := &wire.MsgTx{
347347
Version: 2,
@@ -437,7 +437,7 @@ func TestSimulatorSignBTCTransactionSendSelfDifferentAccount(t *testing.T) {
437437
cfg := makeConfig(t, device, signing.ScriptTypeP2WPKH, mustKeypath("m/84'/0'/1'"))
438438
selfAddress := addresses.NewAccountAddress(
439439
cfg,
440-
signing.NewEmptyRelativeKeypath().Child(0, false).Child(0, false),
440+
types.Derivation{Change: false, AddressIndex: 0},
441441
network,
442442
log)
443443
proposedTransaction := makeTx(t, device, maketx.NewOutputInfo(selfAddress.PubkeyScript()))

0 commit comments

Comments
 (0)