mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-03 14:07:14 +00:00
MarriedKeyChain: Remove redundant check.
This commit is contained in:
committed by
Andreas Schildbach
parent
6c3b545b0c
commit
a8edae0475
@@ -178,7 +178,6 @@ public class MarriedKeyChain extends DeterministicKeyChain {
|
||||
/** Get the redeem data for a key in this married chain */
|
||||
@Override
|
||||
public RedeemData getRedeemData(DeterministicKey followedKey) {
|
||||
checkState(isMarried());
|
||||
List<ECKey> marriedKeys = getMarriedKeysWithFollowed(followedKey);
|
||||
Script redeemScript = ScriptBuilder.createRedeemScript(sigsRequiredToSpend, marriedKeys);
|
||||
return RedeemData.of(marriedKeys, redeemScript);
|
||||
|
||||
Reference in New Issue
Block a user