diff options
| author | Russell Yanofsky <[email protected]> | 2017-12-05 15:57:12 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2020-03-19 15:26:04 -0500 |
| commit | 1dca9dc4c772fa0a4ec52c4d88b7cd3d243aea7b (patch) | |
| tree | 4b7b9bfbf86e7b77674f26145d504be993357522 /src/interfaces/wallet.h | |
| parent | refactor: Change Chain::broadcastTransaction param order (diff) | |
| download | discoin-1dca9dc4c772fa0a4ec52c4d88b7cd3d243aea7b.tar.xz discoin-1dca9dc4c772fa0a4ec52c4d88b7cd3d243aea7b.zip | |
refactor: Change createWallet, fillPSBT argument order
Move output arguments after input arguments for consistency with other methods,
and to work more easily with IPC framework in #10102
Diffstat (limited to 'src/interfaces/wallet.h')
| -rw-r--r-- | src/interfaces/wallet.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 56829289b..487a7c3a5 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -193,11 +193,11 @@ public: int& num_blocks) = 0; //! Fill PSBT. - virtual TransactionError fillPSBT(PartiallySignedTransaction& psbtx, - bool& complete, - int sighash_type = 1 /* SIGHASH_ALL */, - bool sign = true, - bool bip32derivs = false) const = 0; + virtual TransactionError fillPSBT(int sighash_type, + bool sign, + bool bip32derivs, + PartiallySignedTransaction& psbtx, + bool& complete) = 0; //! Get balances. virtual WalletBalances getBalances() = 0; |