Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
justfortest2 committed Aug 8, 2020
1 parent 72e4511 commit ccdf0de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ibc.proxy/src/ibc.proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ namespace eosio {
eosio_assert( info.peerchain != name(),"peerchain not provide");
eosio_assert( info.notes.length() <= 64,"memo string too long");

auto id = _proxytrxs.available_primary_key();
id = (id == 0 ? 1 : id);
_proxytrxs.emplace( _self, [&]( auto& r ){
r.id = _proxytrxs.available_primary_key();
r.id = id;
r.orig_trx_id = get_trx_id();
r.block_time_slot = get_block_time_slot();
r.token_contract = token_contract;
Expand Down

0 comments on commit ccdf0de

Please sign in to comment.