Commit a9ca64e5 authored by Andrew Jones's avatar Andrew Jones

Fix balances prefix

parent d9d91c36
......@@ -56,7 +56,7 @@ mod runtime {
fn get_balance(&self, account: AccountId) -> Balance {
self.env().println(&format!("Getting balance for account {:?}", account.encode()));
const BALANCE_OF: &[u8] = b"balance:";
const BALANCE_OF: &[u8] = b"Balances FreeBalance";
let unhashed = account.to_keyed_vec(BALANCE_OF);
self.env().println(&format!("Unhashed key {:?}", unhashed));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment