From 4f89f8719ca0f50991992c2206783aab7d027c2d Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 15 Dec 2015 15:23:17 -0600 Subject: [PATCH] bob's txin shouldn't have the pkscript as the sig :) --- wallet/wallet_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go index 29b85806..d6ef6854 100644 --- a/wallet/wallet_test.go +++ b/wallet/wallet_test.go @@ -99,7 +99,7 @@ func newBobNode() (*bobNode, error) { prevOut := wire.NewOutPoint(&wire.ShaHash{}, ^uint32(0)) // TODO(roasbeef): When the chain rpc is hooked in, assert bob's output // actually exists and it unspent in the chain. - bobTxIn := wire.NewTxIn(prevOut, bobAddrScript) + bobTxIn := wire.NewTxIn(prevOut, nil) // Using bobs priv key above, create a change address he can spend. bobChangeOutput := wire.NewTxOut(2*1e8, bobAddrScript)