3 arguments are supplied to encode_community_transfer_script_function instead of 4 required
Expected Behavior
No error
Steps To reproduce
I'm trying to run a validator, during the compilation make bins install I have the following error
Stack trace/error message
Compiling txs v5.2.0 (/root/libra/ol/txs)
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> ol/txs/src/commands/community_pay_cmd.rs:85:18
|
85 | let script = transaction_builder::encode_community_transfer_script_function(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments
86 | destination,
| -----------
87 | coins,
| -----
88 | memo.as_bytes().to_vec(),
| ------------------------ supplied 3 arguments
|
note: function defined here
--> /root/libra/sdk/transaction-builder/src/stdlib.rs:4590:8
|
4590 | pub fn encode_community_transfer_script_function(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0061`.
error: could not compile `txs` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:94: bins] Error 101
🐛 Bug
3 arguments are supplied to
encode_community_transfer_script_function
instead of 4 requiredExpected Behavior
No error
Steps To reproduce
I'm trying to run a validator, during the compilation
make bins install
I have the following errorStack trace/error message