Minor test fix after merge

This commit is contained in:
Christopher Goes 2018-05-29 21:46:38 +02:00
parent 91f14e1b48
commit 3b4aa4d0ae
No known key found for this signature in database
GPG Key ID: E828D98232D328D3
1 changed files with 1 additions and 4 deletions

View File

@ -81,10 +81,7 @@ func newPubKey(pk string) (res crypto.PubKey) {
}
func testAddr(addr string) sdk.Address {
res, err := sdk.GetAddress(addr)
if err != nil {
panic(err)
}
res := []byte(addr)
return res
}