Closed Yuki-Inoue closed 6 years ago
Currently, Bitcoin::Protocol::Txout#to_hash with_address: option outputs address only if destination is p2pkh.
Bitcoin::Protocol::Txout#to_hash with_address:
This pr fixes it so that if result address is unique, then the address is returned.
cherry picked into master
Currently,
Bitcoin::Protocol::Txout#to_hash with_address:
option outputs address only if destination is p2pkh.This pr fixes it so that if result address is unique, then the address is returned.