mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00:00
Transaction: note that a ScriptException is expected at this point.
This commit is contained in:
parent
2c26f8802b
commit
bf585d8627
@ -782,7 +782,9 @@ public class Transaction extends ChildMessage implements Serializable {
|
||||
input.getScriptSig().correctlySpends(this, i, input.getOutpoint().getConnectedOutput().getScriptPubKey(), true);
|
||||
log.warn("Input {} already correctly spends output, assuming SIGHASH type used will be safe and skipping signing.", i);
|
||||
continue;
|
||||
} catch (ScriptException e) {}
|
||||
} catch (ScriptException e) {
|
||||
// Expected.
|
||||
}
|
||||
if (input.getScriptBytes().length != 0)
|
||||
log.warn("Re-signing an already signed transaction! Be sure this is what you want.");
|
||||
// Find the signing key we'll need to use.
|
||||
|
Loading…
x
Reference in New Issue
Block a user