Guest User

Untitled

a guest
Oct 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. describe('creating a reward transaction',()=>{
  2. beforeEach(()=>{
  3. transaction = Transaction.rewardTransaction(wallet,Wallet.blockchainWallet());
  4. });
  5.  
  6.  
  7. it('reward the miners wallet',()=>{
  8. expect(transaction.outputs.find(output => output.address === wallet.publicKey).amount).toEqual(MINING_REWARD);
  9. });
  10.  
  11. });
Add Comment
Please, Sign In to add comment