lhartikk / naivecoin

A tutorial for building a cryptocurrency

Home Page:https://lhartikk.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transactions.ts problem

aszokalski opened this issue · comments

When i try to compile provided code i get following error.
transactions.ts(158,24): error TS2339: Property 'find' does not exist on type 'UnspentTxOut[]'. transactions.ts(174,27): error TS2339: Property 'find' does not exist on type 'UnspentTxOut[]'. transactions.ts(246,18): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'. transactions.ts(333,25): error TS2339: Property 'startsWith' does not exist on type 'string'.