minor fix for address test

This commit is contained in:
Alex Grintsvayg 2022-10-14 14:24:17 -04:00
parent 4bb90dcb6e
commit 8bb5411542
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -8,5 +8,7 @@ func TestDecodeAddress(t *testing.T) {
if err != nil {
t.Error(err)
}
println(btcAddr.EncodeAddress())
if btcAddr.EncodeAddress() != addr {
t.Errorf("expected: %s, actual: %s", addr, btcAddr.EncodeAddress())
}
}