Trace syscalls for more helpful logs
This commit is contained in:
@ -42,6 +42,7 @@ impl SystemContract {
|
|||||||
}
|
}
|
||||||
pub fn process_transaction(tx: &Transaction, accounts: &mut [Account]) {
|
pub fn process_transaction(tx: &Transaction, accounts: &mut [Account]) {
|
||||||
let syscall: SystemContract = deserialize(&tx.userdata).unwrap();
|
let syscall: SystemContract = deserialize(&tx.userdata).unwrap();
|
||||||
|
trace!("process_transaction: {:?}", syscall);
|
||||||
match syscall {
|
match syscall {
|
||||||
SystemContract::CreateAccount {
|
SystemContract::CreateAccount {
|
||||||
tokens,
|
tokens,
|
||||||
|
Reference in New Issue
Block a user