diff --git a/jsoncmd_test.go b/jsoncmd_test.go index 270020fa..67b93e45 100644 --- a/jsoncmd_test.go +++ b/jsoncmd_test.go @@ -124,6 +124,17 @@ var jsoncmdtests = []struct { }, }, }, + { + name: "basic decoderawtransaction", + f: func() (Cmd, error) { + return NewDecodeRawTransactionCmd(float64(1), + "thisisahexidecimaltransaction") + }, + result: &DecodeRawTransactionCmd{ + id: float64(1), + HexTx: "thisisahexidecimaltransaction", + }, + }, { name: "basic ping", f: func() (Cmd, error) {