mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
update fusiondart ref and integration
This commit is contained in:
parent
d760599183
commit
372f95af07
2 changed files with 3 additions and 12 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 7e7c4f27ba8aececf813a6117eaba549edcb5f89
|
||||
Subproject commit 22084e8a4b39c282570645896a12332724f1cdbe
|
|
@ -207,19 +207,10 @@ mixin FusionWalletInterface {
|
|||
/// A `Future<void>` that resolves when the fusion operation is finished.
|
||||
Future<void> fuse() async {
|
||||
// Initial attempt for CashFusion integration goes here.
|
||||
final mainFusionObject = Fusion(
|
||||
getAddresses: () => getFusionAddresses(),
|
||||
getTransactionsByAddress: (String address) =>
|
||||
getTransactionsByAddress(address),
|
||||
getInputsByAddress: (String address) => getInputsByAddress(address),
|
||||
// createNewReservedChangeAddress: () => createNewReservedChangeAddress(),
|
||||
getUnusedReservedChangeAddresses: (int numberOfAddresses) =>
|
||||
getUnusedReservedChangeAddresses(numberOfAddresses),
|
||||
getSocksProxyAddress: () => getSocksProxyAddress(),
|
||||
);
|
||||
final mainFusionObject = Fusion(FusionParams());
|
||||
|
||||
// Pass wallet functions to the Fusion object
|
||||
mainFusionObject.initFusion(
|
||||
await mainFusionObject.initFusion(
|
||||
getAddresses: getFusionAddresses,
|
||||
getTransactionsByAddress: getTransactionsByAddress,
|
||||
getInputsByAddress: getInputsByAddress,
|
||||
|
|
Loading…
Reference in a new issue