Skip to content

Commit

Permalink
basecoin/types: UnmarshalBinaryBare
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuchman committed Apr 9, 2018
1 parent 98f7396 commit 9e2667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basecoin/types/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func GetAccountDecoder(cdc *wire.Codec) sdk.AccountDecoder {
return nil, sdk.ErrTxDecode("accBytes are empty")
}
acct := new(AppAccount)
err = cdc.UnmarshalBinary(accBytes, &acct)
err = cdc.UnmarshalBinaryBare(accBytes, &acct)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 9e2667b

Please sign in to comment.