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 5, 2023
1 parent a58363e commit c353f7e
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 c353f7e

Please sign in to comment.