Update tests for recent btcutil.Address API change.
This commit is contained in:
parent
7d228846bd
commit
79b6e51dff
1 changed files with 7 additions and 0 deletions
|
@ -2929,6 +2929,13 @@ func (b *bogusAddress) IsForNet(net *btcnet.Params) bool {
|
|||
return true // why not?
|
||||
}
|
||||
|
||||
// String simply returns an empty string. It exists to satsify the
|
||||
// btcutil.Address interface.
|
||||
func (b *bogusAddress) String() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
func TestPayToAddrScript(t *testing.T) {
|
||||
// 1MirQ9bwyQcGVJPwKUgapu5ouK2E2Ey4gX
|
||||
p2pkhMain, err := btcutil.NewAddressPubKeyHash([]byte{
|
||||
|
|
Loading…
Add table
Reference in a new issue