From 26adabafaeda1b00e093c02e5db72664eb7e2691 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 4 Oct 2023 13:35:02 +0200 Subject: [PATCH] address: use DecodeP2P --- address/address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/address/address.go b/address/address.go index d290f111a..bdc63065f 100644 --- a/address/address.go +++ b/address/address.go @@ -347,7 +347,7 @@ func (a *Tap) Decode(r io.Reader) error { if err != nil { return err } - return stream.Decode(r) + return stream.DecodeP2P(r) } // EncodeAddress returns a bech32m string encoding of a Taproot Asset address.