mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
slight change to output mapping
This commit is contained in:
parent
af40bf3667
commit
40b029351d
1 changed files with 5 additions and 7 deletions
|
@ -585,15 +585,13 @@ extension FusionTransaction on Transaction {
|
||||||
address: outputAddress,
|
address: outputAddress,
|
||||||
dbInstance: dbInstance,
|
dbInstance: dbInstance,
|
||||||
);
|
);
|
||||||
fusion_address.DerivationPath derivationPath;
|
|
||||||
|
final fusion_address.DerivationPath? derivationPath;
|
||||||
if (derivationPathString == null) {
|
if (derivationPathString == null) {
|
||||||
// TODO: check on this:
|
// TODO: check on this:
|
||||||
// Either the address is not an address of this wallet
|
// The address is not an address of this wallet and in that case we
|
||||||
// or we need to find out what it is.
|
// cannot know the derivation path
|
||||||
// If the former, then the issue cannot be easily solved as we will
|
derivationPath = null;
|
||||||
// have no way of finding out what the derivation path is.
|
|
||||||
// Throw exception for now.
|
|
||||||
throw Exception("derivationPathString is null");
|
|
||||||
} else {
|
} else {
|
||||||
derivationPath = fusion_address.DerivationPath(
|
derivationPath = fusion_address.DerivationPath(
|
||||||
derivationPathString,
|
derivationPathString,
|
||||||
|
|
Loading…
Reference in a new issue