[eth] Update ethereum js sdk readme (#738)

This commit is contained in:
Ali Behjati 2023-04-04 10:04:12 +02:00 committed by GitHub
parent e4db9cac81
commit 343091d788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ contract SomeContract {
function doSomething(
uint someArg,
string memory otherArg,
bytes[] memory priceUpdateData
bytes[] calldata priceUpdateData
) public payable {
// Update the prices to be set to the latest values
uint fee = pyth.getUpdateFee(priceUpdateData);