Simplify code + editorconfig
This commit is contained in:
parent
30fbbad7d6
commit
407059896b
2
.editorconfig
Normal file
2
.editorconfig
Normal file
@ -0,0 +1,2 @@
|
||||
[*.cs]
|
||||
indent_style = tab
|
||||
@ -588,7 +588,7 @@ namespace NBXplorer
|
||||
Redeem = derivation.Redeem,
|
||||
DerivationStrategy = strategy,
|
||||
Feature = derivationFeature,
|
||||
KeyPath = DerivationFeature.Direct == derivationFeature ? new KeyPath(index.ToString()) : DerivationStrategyBase.GetKeyPath(derivationFeature).Derive(index, false)
|
||||
KeyPath = DerivationStrategyBase.GetKeyPath(derivationFeature).Derive(index, false)
|
||||
};
|
||||
var bytes = ToBytes(info);
|
||||
GetScriptsIndex(info.ScriptPubKey).Insert(tx, $"{strategy.GetHash()}-{derivationFeature}", bytes);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user