Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Make bech32 encoding network-aware #104

Merged
merged 3 commits into from
Jan 26, 2022
Merged

fix: Make bech32 encoding network-aware #104

merged 3 commits into from
Jan 26, 2022

Conversation

scarmuega
Copy link
Member

fixes #34

@scarmuega scarmuega marked this pull request as ready for review January 26, 2022 21:34
@mark-stopka mark-stopka self-requested a review January 26, 2022 21:37
Copy link
Collaborator

@mark-stopka mark-stopka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected:

markstopka@mark-zenbook-s:~/Work/github.com/TxPipe/oura> ./target/debug/oura watch relays-new.cardano-testnet.iohkdev.io:3001 --bearer tcp --magic testnet | grep test
BLOCK:3269523 █ TX:00 █ UTXO   { to: addr_test1qzqy40s98kan50rljxpcgsnl9xesxsdpndzw430zmlad8rs368cnk3l9yrr5vmgw3hvg3hr6xgujvxa4zw3nwupeugkquspqlq, amount: 5000000 }
BLOCK:3269523 █ TX:00 █ UTXO   { to: addr_test1qpc6srdq6jjt6eetstw6t4elmypvepa6ykxcps3dvvv4fr5ca6s0m36w9nlk7ntwdhvhxeyz9u4lngn97fcv4ykjqc2sk4hrgy, amount: 178351064 }
BLOCK:3269523 █ TX:01 █ UTXO   { to: addr_test1wphyve8r76kvfr5yn6k0fcmq0mn2uf6c6mvtsrafmr7awcg0vnzpg, amount: 4000000 }
BLOCK:3269523 █ TX:01 █ UTXO   { to: addr_test1qpm970xdu8wk45uawumaqwaz5s0rs7up9lwsxfdqzhlce6mv7pq2ky2rls2k6sf4uwldc2xdjjtx5lyy446pm25u6c9szl45ut, amount: 449695296 }
^C
markstopka@mark-zenbook-s:~/Work/github.com/TxPipe/oura> 

@mark-stopka mark-stopka merged commit 296de84 into main Jan 26, 2022
@mark-stopka mark-stopka deleted the fix/testnet-addr branch January 26, 2022 22:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Addresses appear with wrong bech32 prefix in testnet
2 participants