Whats the point of a default nonce? Isnt setting an Option::None better? otherwise elsewhere we have to validate DEFAULT nonce vs block nonce again
Closed this issue · 1 comments
thibault-martinez commented
Whats the point of a default nonce? Isnt setting an Option::None better? otherwise elsewhere we have to validate DEFAULT nonce vs block nonce again
Originally posted by @kwek20 in #1346 (comment)
Thoralf-M commented
To me it looks fine how it's now, since 0 is used fore remote PoW
But changing it would also not require any big changes, I think we would just need to set it to 0 ourselves in this place
iota.rs/client/src/api/block_builder/pow.rs
Lines 26 to 32 in b6bfcfb
Closing it for now, @kwek20 pls reopen if you want to do it anyways