Trace syscalls for more helpful logs
This commit is contained in:
parent
bb8c94ad2c
commit
8f01f7cf21
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue