Fix PROXY_FORGING transaction length issue

This commit is contained in:
catbref 2019-05-15 20:47:34 +01:00
parent af22922025
commit ecdf8212ea

View File

@ -16,8 +16,9 @@ public class ProxyForgingTransactionTransformer extends TransactionTransformer {
// Property lengths
private static final int TARGET_LENGTH = ADDRESS_LENGTH;
private static final int REWARD_SHARE_LENGTH = BIG_DECIMAL_LENGTH;
private static final int EXTRAS_LENGTH = TARGET_LENGTH;
private static final int EXTRAS_LENGTH = TARGET_LENGTH + PUBLIC_KEY_LENGTH + REWARD_SHARE_LENGTH;
protected static final TransactionLayout layout;