Closed refi93 closed 5 years ago
It's a very bad idea to change the behavior of the field. Let's introduce a new field (5) and drop the old field (4) instead.
-optional uint32 network = 4; // network number
+optional uint32 protocol_magic = 5; // network's protocol magic
@prusnak thanks for pointing out, fixed
@jpochyla @matejcik are you OK with this change?
there should be a corresponding PR to python-trezor, which is using the field otherwise LGTM, except that I don't know how Cardano works so I trust @refi93 that this is correct from that angle :)
@matejcik there already is one: https://github.com/trezor/python-trezor/pull/342 I just need to fix the clicks emulation so the test does not hang. Will do probably tomorrow.
See https://github.com/trezor/connect/pull/272 and https://github.com/trezor/trezor-core/pull/417