fix offset: do not add off for the index into the keys from the client
This commit is contained in:
parent
e34d340cae
commit
8a40432488
@ -1158,7 +1158,7 @@ TMH_DB_execute_refresh_reveal (struct MHD_Connection *connection,
|
|||||||
session_hash,
|
session_hash,
|
||||||
i + off,
|
i + off,
|
||||||
refresh_session.num_oldcoins,
|
refresh_session.num_oldcoins,
|
||||||
transfer_privs[i + off],
|
transfer_privs[i],
|
||||||
melts,
|
melts,
|
||||||
refresh_session.num_newcoins,
|
refresh_session.num_newcoins,
|
||||||
denom_pubs)))
|
denom_pubs)))
|
||||||
|
@ -505,6 +505,7 @@ handle_refresh_melt_json (struct MHD_Connection *connection,
|
|||||||
num_newcoins);
|
num_newcoins);
|
||||||
return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES;
|
return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
GNUNET_CRYPTO_hash_context_read (hash_context,
|
GNUNET_CRYPTO_hash_context_read (hash_context,
|
||||||
rcc->coin_ev,
|
rcc->coin_ev,
|
||||||
rcc->coin_ev_size);
|
rcc->coin_ev_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user