mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +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.
|
/// A `Future<void>` that resolves when the fusion operation is finished.
|
||||||
Future<void> fuse() async {
|
Future<void> fuse() async {
|
||||||
// Initial attempt for CashFusion integration goes here.
|
// Initial attempt for CashFusion integration goes here.
|
||||||
final mainFusionObject = Fusion(
|
final mainFusionObject = Fusion(FusionParams());
|
||||||
getAddresses: () => getFusionAddresses(),
|
|
||||||
getTransactionsByAddress: (String address) =>
|
|
||||||
getTransactionsByAddress(address),
|
|
||||||
getInputsByAddress: (String address) => getInputsByAddress(address),
|
|
||||||
// createNewReservedChangeAddress: () => createNewReservedChangeAddress(),
|
|
||||||
getUnusedReservedChangeAddresses: (int numberOfAddresses) =>
|
|
||||||
getUnusedReservedChangeAddresses(numberOfAddresses),
|
|
||||||
getSocksProxyAddress: () => getSocksProxyAddress(),
|
|
||||||
);
|
|
||||||
|
|
||||||
// Pass wallet functions to the Fusion object
|
// Pass wallet functions to the Fusion object
|
||||||
mainFusionObject.initFusion(
|
await mainFusionObject.initFusion(
|
||||||
getAddresses: getFusionAddresses,
|
getAddresses: getFusionAddresses,
|
||||||
getTransactionsByAddress: getTransactionsByAddress,
|
getTransactionsByAddress: getTransactionsByAddress,
|
||||||
getInputsByAddress: getInputsByAddress,
|
getInputsByAddress: getInputsByAddress,
|
||||||
|
|
Loading…
Reference in a new issue