Skip to content

Commit

Permalink
remove redundant types from psbt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Aug 24, 2020
1 parent 5eef94b commit 23478ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions btcjson/btcwalletextcmds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func TestBtcWalletExtCmds(t *testing.T) {
return btcjson.NewCmd(
"walletcreatefundedpsbt",
[]btcjson.PsbtInput{
btcjson.PsbtInput{
{
Txid: "1234",
Vout: 0,
Sequence: 0,
Expand All @@ -162,7 +162,7 @@ func TestBtcWalletExtCmds(t *testing.T) {
staticCmd: func() interface{} {
return btcjson.NewWalletCreateFundedPsbtCmd(
[]btcjson.PsbtInput{
btcjson.PsbtInput{
{
Txid: "1234",
Vout: 0,
Sequence: 0,
Expand All @@ -179,7 +179,7 @@ func TestBtcWalletExtCmds(t *testing.T) {
marshalled: `{"jsonrpc":"1.0","method":"walletcreatefundedpsbt","params":[[{"txid":"1234","vout":0,"sequence":0}],[{"1234":1234}],1,{},true],"id":1}`,
unmarshalled: &btcjson.WalletCreateFundedPsbtCmd{
Inputs: []btcjson.PsbtInput{
btcjson.PsbtInput{
{
Txid: "1234",
Vout: 0,
Sequence: 0,
Expand Down

0 comments on commit 23478ac

Please sign in to comment.