-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create getSvpSpendTxWaitingForSignatures method #2726
Create getSvpSpendTxWaitingForSignatures method #2726
Conversation
879eaff
to
5d4c3fa
Compare
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
@@ -95,7 +95,7 @@ private static byte[][] serializeRskTxWaitingForSignaturesEntry( | |||
public static Map.Entry<Keccak256, BtcTransaction> deserializeRskTxWaitingForSignatures( | |||
byte[] data, NetworkParameters networkParameters, boolean noInputsTxs) { | |||
if (data == null || data.length == 0) { | |||
return new AbstractMap.SimpleEntry<>(null, null); | |||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to return null
as it is the new default value.
d7093c7
to
a3c149a
Compare
rskj-core/src/test/java/co/rsk/peg/BridgeStorageProviderTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a super minor typo-comment
a3c149a
to
aa9ac45
Compare
Quality Gate passedIssues Measures |
644cc3d
into
feature/powpeg_validation_protocol-phase2
Description
Now we are able to save the spend transaction in the
svpSpendTxWaitingForSignatures
entry. So now we need a method to get the transaction saved.Motivation and Context
https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP419.md