refactor rpc elements out

This commit is contained in:
Craig Raw
2020-08-10 16:56:34 +02:00
parent bb635a6c68
commit 79c2e29e34
8 changed files with 296 additions and 110 deletions
@@ -123,7 +123,8 @@ public class TransactionHexArea extends CodeArea {
cursor = addSegment(segments, cursor, 8, "locktime");
if(cursor != getLength()) {
throw new IllegalStateException("Cursor position does not match transaction serialisation " + cursor + ": " + getLength());
//While this is normally a good sanity check, the truncation applied means it may fail, so it is left commented out
//throw new IllegalStateException("Cursor position does not match transaction serialisation " + cursor + ": " + getLength());
}
return segments;