This commit is contained in:
David Hill 2014-02-04 16:13:24 -05:00
parent 25bb31ebd5
commit ae21689a57

View file

@ -120,15 +120,15 @@ var jsoncmdtests = []struct {
f: func() (Cmd, error) {
return NewCreateRawTransactionCmd(testId,
[]TransactionInput{
TransactionInput{Txid: "tx1", Vout: 1},
TransactionInput{Txid: "tx2", Vout: 3}},
{Txid: "tx1", Vout: 1},
{Txid: "tx2", Vout: 3}},
map[string]int64{"bob": 1, "bill": 2})
},
result: &CreateRawTransactionCmd{
id: testId,
Inputs: []TransactionInput{
TransactionInput{Txid: "tx1", Vout: 1},
TransactionInput{Txid: "tx2", Vout: 3},
{Txid: "tx1", Vout: 1},
{Txid: "tx2", Vout: 3},
},
Amounts: map[string]int64{
"bob": 1,