PirateNetwork / pirate

Pirate Chain (ARRR) - Untraceable, Anonymous, Private Cryptocurrency
https://piratechain.com
Other
113 stars 27 forks source link

Fix 2 segfaults for off-line transaction signing #69

Closed mullroy closed 3 years ago

mullroy commented 3 years ago

Initialise class private variable: fromAddress_ Removed a double evaluation of "HaveSpendingKeyForPaymentAddress(pwalletMain), address))", --Note: This must be split in an if() statement, evaluating if offline signing is enabled or not. The current implementation works for offline signing, but if that feature is disabled, the original implementation, which rejects if you don't have the spending key, is required. : Since this is in the RPC code, pirated and the pirate-cli can also use the z_sendmany() command. Pirated & pirate-cli reads its config from PIRATE.conf, but the offline signing option is currently only available for the Qt GUI code.