Skip to content

Commit

Permalink
address: use DecodeP2P
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Oct 4, 2023
1 parent e5f2e3b commit 26adaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion address/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 26adaba

Please sign in to comment.