Skip to content

Commit 4162cdc

Browse files
author
Ben Lamothe
authored
Merge pull request #315 from quorumcontrol/fix/multiple-shell-encoding
no need to dump in the passed in strings anymore
2 parents 2f33291 + 1f61f5f commit 4162cdc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

wallet/walletshell/gossipshell.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99

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

286285
path := c.Args[2]
287-
data, err := cbornode.DumpObject(c.Args[3])
288-
if err != nil {
289-
c.Printf("error encoding input: %v\n", err)
290-
return
291-
}
286+
data := c.Args[3]
292287

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

0 commit comments

Comments
 (0)