fix #554
This commit is contained in:
parent
729af506b3
commit
1c6ecef599
|
@ -26,7 +26,7 @@ func (acc *AppAccount) SetName(name string) { acc.Name = name }
|
|||
func GetParseAccount(cdc *wire.Codec) sdk.ParseAccount {
|
||||
return func(accBytes []byte) (res sdk.Account, err error) {
|
||||
acct := new(AppAccount)
|
||||
err = cdc.UnmarshalBinary(accBytes, acct)
|
||||
err = cdc.UnmarshalBinary(accBytes, &acct)
|
||||
return acct, err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue