mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-03 15:44:51 +00:00
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…
x
Reference in New Issue
Block a user