Revert standard size for CALLDATALOAD to 32 bytes
This commit is contained in:
parent
99522657ef
commit
4b722c9aa7
|
@ -152,7 +152,7 @@ public class ProgramInvokeImpl implements ProgramInvoke {
|
|||
if (index + size > msgData.length)
|
||||
size = msgData.length - index;
|
||||
|
||||
byte[] data = new byte[size];
|
||||
byte[] data = new byte[32];
|
||||
System.arraycopy(msgData, index, data, 0, size);
|
||||
return new DataWord(data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue