From 8bb54115423f0198c604640b53fcfc5730428b85 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Fri, 14 Oct 2022 14:24:17 -0400 Subject: [PATCH] minor fix for address test --- lbrycrd/address_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lbrycrd/address_test.go b/lbrycrd/address_test.go index a6648cc..29cffe4 100644 --- a/lbrycrd/address_test.go +++ b/lbrycrd/address_test.go @@ -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()) + } }