Trace syscalls for more helpful logs

This commit is contained in:
Michael Vines 2018-09-20 09:38:55 -07:00 committed by Grimes
parent bb8c94ad2c
commit 8f01f7cf21
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ impl SystemContract {
}
pub fn process_transaction(tx: &Transaction, accounts: &mut [Account]) {
let syscall: SystemContract = deserialize(&tx.userdata).unwrap();
trace!("process_transaction: {:?}", syscall);
match syscall {
SystemContract::CreateAccount {
tokens,