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) { f: func() (Cmd, error) {
return NewCreateRawTransactionCmd(testId, return NewCreateRawTransactionCmd(testId,
[]TransactionInput{ []TransactionInput{
TransactionInput{Txid: "tx1", Vout: 1}, {Txid: "tx1", Vout: 1},
TransactionInput{Txid: "tx2", Vout: 3}}, {Txid: "tx2", Vout: 3}},
map[string]int64{"bob": 1, "bill": 2}) map[string]int64{"bob": 1, "bill": 2})
}, },
result: &CreateRawTransactionCmd{ result: &CreateRawTransactionCmd{
id: testId, id: testId,
Inputs: []TransactionInput{ Inputs: []TransactionInput{
TransactionInput{Txid: "tx1", Vout: 1}, {Txid: "tx1", Vout: 1},
TransactionInput{Txid: "tx2", Vout: 3}, {Txid: "tx2", Vout: 3},
}, },
Amounts: map[string]int64{ Amounts: map[string]int64{
"bob": 1, "bob": 1,