neo-project/docs

N3 invokecontractverify RPC method incorrect parameter description

Closed this issue · 1 comments

ixje commented

The documentation states that the params argument must be an empty array

params: The parameters to be passed to the smart contract operation. It must be an empty array [] as by default Neo only accepts the verify function without parameter.

The code actually allows for parameters
https://github.com/neo-project/neo-modules/blob/9d1166a86309a54095b595a27b49fba2c850c864/src/RpcServer/RpcServer.Wallet.cs#L334

Fixed in PR #1348