Skip to content

Commit

Permalink
Merge pull request #315 from quorumcontrol/fix/multiple-shell-encoding
Browse files Browse the repository at this point in the history
no need to dump in the passed in strings anymore
  • Loading branch information
Ben Lamothe authored Jun 6, 2019
2 parents 2f33291 + 1f61f5f commit 4162cdc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wallet/walletshell/gossipshell.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (

"github.com/abiosoft/ishell"
"github.com/ethereum/go-ethereum/crypto"
cbornode "github.com/ipfs/go-ipld-cbor"
"github.com/quorumcontrol/chaintree/chaintree"
"github.com/quorumcontrol/messages/build/go/transactions"
"github.com/quorumcontrol/tupelo-go-sdk/consensus"
Expand Down Expand Up @@ -284,11 +283,7 @@ func RunGossip(name string, storagePath string, notaryGroup *types.NotaryGroup,
keyAddr := c.Args[1]

path := c.Args[2]
data, err := cbornode.DumpObject(c.Args[3])
if err != nil {
c.Printf("error encoding input: %v\n", err)
return
}
data := c.Args[3]

txn, err := chaintree.NewSetDataTransaction(path, data)
if err != nil {
Expand Down

0 comments on commit 4162cdc

Please sign in to comment.