mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 23:31:42 +02:00
A legacy send proof uses no V5 field: V4 carries the sender and receiver addresses and the signature, and only the timestamp and memo need V5. Sending those as V5 stopped V4-only wallets from reading the slate. Add SlateVersion::lowest_for and use it from create_slatepack and from the contract owner API methods, which returned V4 unconditionally and so dropped the timestamp and memo that an early proof's promise signature binds. contract_sign keeps the version the counterparty sent when the slate does not need more.